package com.xhsj.user.hr.process.processDefinition.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xhsj.user.hr.base.BaseEntity;
import com.xhsj.user.hr.process.processDefinition.query.TbGlobalWorkFlowNodoJudgeQuery;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * <p>
 * 流程设计-流程节点
 * </p>
 *
 * @author liuqinghua
 * @since 2020-08-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TbGlobalWorkFlowNode extends BaseEntity<TbGlobalWorkFlowNode> {

    private static final long serialVersionUID = 1L;

    /**
     * 流程id 逻辑外键  tb_global_business 表id
     */
    @TableField("business_id")
    private long businessId;

    /**
     * 角色
     */
    @TableField("role_id")
    private String roleId;

    /**
     * 节点编号
     */
    @TableField("approve_order_no")
    private Integer approveOrderNo;

    /**
     * 节点名称
     */
    @TableField("task_name")
    private String taskName;

    /**
     * 条件判断
     */
    @TableField("judge_id")
    private Long judgeId;

    /**
     * 下一个节点
     */
    @TableField("next_no")
    private Integer nextNo;


}
